/**
 * @Author: 黄勇铭
 * @CreateTime: 2023-08-01  10:40
 * @Description: TODO
 * @Version: 1.0
 */
package com.project.controller;

import com.project.clients.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("order")
public class OrderController {

    @Autowired
    UserClient userClient;

    @RequestMapping("feigntest")
    String getUserName(){

        String userName=userClient.getUserName();

        return userName;
    };


}
